<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <title></title>
    <%@ include file="/WEB-INF/component/commonCSS.jsp"%>
    <!--[if lt IE 9]>
        <script src="lib/js/html5shiv.min.js"></script>
        <script src="lib/js/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">
    	div.col-sm-10.text-left{
    	    color:#949494;
    	}
    	
</style>
</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame">
    <section class="content-header">
        <h1>品规详情</h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home.jsp"><i class="fa fa-home"></i>首页</a></li>
            <li class="active"><a href="javascript:void(0)">基础库管理</a></li>
            <li class="active"><a href="javascript:void(0)">品规库</a></li>
        </ol>
    </section>
    <section class="content">
        <div class=" box box-success">
           
            <!-- form start -->
            <form role="form" id ="form1" class="form-horizontal" action="saveOrEditDrugQuality" method="post">
                <div class="box-body">
                    <div class="form-group">
                        <label class="col-sm-2 text-right">品规编码：</label>
                        <div class="col-sm-10 text-left">
                           ${stdDrugQualitySpec.qualitySpecCode}
                        </div>
                    </div>
                    <div class="line"></div>
                    <div class="form-group">
                        <label class="col-sm-2 text-right">品规名称：</label>
                        <div class="col-sm-10 text-left">
                            ${stdDrugQualitySpec.qualitySpecName}
                        </div>
                    </div>
                    <div class="line"></div>
                    <div class="form-group">
                        <label class="col-sm-2 text-right">品规英文名：</label>
                        <div class="col-sm-10 text-left">
                            ${stdDrugQualitySpec.qualitySpecNameEng}
                        </div>
                    </div>
                    <div class="line"></div>
                    <div class="form-group">
                        <label class="col-sm-2 text-right">剂型名称：</label>
                        <div class="col-sm-10 text-left">
                            ${stdDrugQualitySpec.formName }
                        </div>
                   </div>
                   <div class="line"></div>
                   <div class="form-group">
                        <label class="col-sm-2 text-right">规格名称：</label>
                        <div class="col-sm-10 text-left">
                            ${stdDrugQualitySpec.specName }
                        </div>
                   </div>
                   <div class="line"></div>
                   <div class="form-group">
                        <label class="col-sm-2 text-right">状态：</label>
                        <div class="col-sm-10 text-left" id ="status">
                        </div>
                   </div>
                </div>
                 <div class="box-footer text-center">
                    <button type="button" onclick="back();" class="btn btn-danger btn-sm">返&nbsp;回</button>
                </div>
            </form>
        </div>
    </section>
    <%@ include file="/WEB-INF/component/commonJS.jsp"%>
    <script type="text/javascript">

     function back(){
     	window.location.href="toDrugQualitySpecList.html";
     }
     $(function () {
    	 var status = ${stdDrugQualitySpec.status};
    	 if(status == '1'){
    		 $("#status").html("启用");
    	 }
    	 if(status == '2'){
    		 $("#status").html("停用");
    	 }
    	
     })
   
     
   
     
    </script>
</body>
</html>
